#ifndef ITEMMODEL_H
#define ITEMMODEL_H

#include <QObject>

class ItemModel : public QObject
{
    Track track;
    int row;
    int playlistID;

public:
    ItemModel(int playlistID, Track track, int row);
    ItemModel(int playlistID, Track track);

    void setRow(int row);
    int getRow();
    int getPlaylistID();
    void setTrack(Track track);
    Track getTrack();
    ItemModel* operator<(ItemModel* item);
};

#endif // ITEMMODEL_H
